package com.pkk.components.moudle.oauth2;


import com.pkk.components.exceptions.BusinessException;
import com.pkk.components.rpc.enums.CodeEnum;

/**
 * @Description: 自定义用户认证异常类
 * @Author: peikunkun
 * @Date: 2020/3/21 0021 下午 3:52
 */
public class AuthUserException extends BusinessException {

  private static final long serialVersionUID = 4658623116465349320L;

  public AuthUserException(CodeEnum code) {
    super(code);
  }

  public AuthUserException(CodeEnum code, String message) {
    super(code, message);
  }

  public AuthUserException(CodeEnum code, Throwable e) {
    super(e, code);
  }
}


